<template>
  <div>
    <div class="u-block">
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>detail</el-breadcrumb-item>
      </el-breadcrumb>
    </div>
    <div class="u-tip">detail</div>
    <div class="u-block">
    	<el-row :gutter="20">
    		 <el-col :span="8">
    		 	<div class="avatar">
    		 			<img src="http://placehold.it/350x200" class="image">
    		 	</div>
    		 
    		 	<el-row :gutter="10" class="preview">
    		 		<el-col :span="6"><img src="http://placehold.it/350x200" class="image"></el-col>
    		 		<el-col :span="6"><img src="http://placehold.it/350x200" class="image"></el-col>
    		 		<el-col :span="6"><img src="http://placehold.it/350x200" class="image"></el-col>
    		 		<el-col :span="6"><img src="http://placehold.it/350x200" class="image"></el-col>
    		 	</el-row>
    		 </el-col>
    		 <el-col :span="16">
              <h2>xxxx</h2>
              <p>xxsds</p> 
              <el-input-number v-model="num1" :min="1" :max="10" label="描述文字"></el-input-number>     
               <el-button type="primary">主要按钮</el-button>
             </el-col>
        </el-row>
    </div>
    <div class="u-block">
        <div class="sd">
           <el-collapse v-model="activeNames">
              <el-collapse-item title="一致性 Consistency" name="1">
                <div>与现实生活一致：与现实生活的流程、逻辑保持一致，遵循用户习惯的语言和概念；</div>
                <div>在界面中一致：所有的元素和结构需保持一致，比如：设计样式、图标和文本、元素的位置等。</div>
              </el-collapse-item>
              <el-collapse-item title="反馈 Feedback" name="2">
                <div>控制反馈：通过界面样式和交互动效让用户可以清晰的感知自己的操作；</div>
                <div>页面反馈：操作后，通过页面元素的变化清晰地展现当前状态。</div>
              </el-collapse-item>
              <el-collapse-item title="效率 Efficiency" name="3">
                <div>简化流程：设计简洁直观的操作流程；</div>
                <div>清晰明确：语言表达清晰且表意明确，让用户快速理解进而作出决策；</div>
                <div>帮助用户识别：界面简单直白，让用户快速识别而非回忆，减少用户记忆负担。</div>
              </el-collapse-item>
              <el-collapse-item title="可控 Controllability" name="4">
                <div>用户决策：根据场景可给予用户操作建议或安全提示，但不能代替用户进行决策；</div>
                <div>结果可控：用户可以自由的进行操作，包括撤销、回退和终止当前操作等。</div>
              </el-collapse-item>
            </el-collapse>    
        </div>
        <div class="mn">
            <div class="mnc">
              <p>结果可控：用户可以自由的进行操作，包括撤销、回退和终止当前操作等。</p>
            </div> 
        </div>
    </div>
  </div>
</template>

<script>
import Vue from 'vue'
/*element*/
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI, { size: 'small' })
export default {
    data() {
        return {
              num1: 1,
            activeNames: ['1']
        }
    }
}
</script>
<style scoped lang="scss">
.avatar{img{width:100%;}
}
.preview{padding-top:10px;
    img{width:100%;}
}
.u-block{padding:0 10px;
    .sd{position:relative;width:200px;margin-right:-200px;float:left;}
    .mnc{margin-left:210px;}
}
@media (max-width:768px){
    .u-block{.sd{display:none;}
        .mnc{margin-left:0;}
    }
}
</style>